package com.chen.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.entity.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {
    Page<Category> page1(int page, int pageSize);

    void delete(long id);

    List<Category> getByType(int type);

    List<Category> get(Category category);
}
